import request from "@/utils/request";
const url = "/aiImg/";

export function addAiImg(data:AiimgCommunityFace) {
  return request({
    url: url + "add",
    method: "POST",
    data
  });
}


export function list(params:listQueryFace):Promise<IResponseList<AiimgCommunityFace[]>> {
  return request({
    url: url + "list",
    method: "GET",
    params
  });
  
}
export function myList(params:listQueryFace):Promise<IResponseList<AiimgCommunityFace[]>> {
    return request({
      url: url + "my",
      method: "GET",
      params
    });
    
  }
  export function select(taskId:string):Promise<IResponseList<AiimgCommunityFace[]>> {
    return request({
      url: url + "select",
      method: "GET",
      params:{
        taskId
      }
    });
  }

  
  
